
<script type="text/html" id="tp-apply-lit">
      <table class="table table-hover table-striped table-bordered">
        <tr>
          <th>报名编号</th>
          <th>姓名</th>
          <th>电话</th>     
          <th>摄影师</th>  
          <th>造型师</th> 
          <th>引导师</th> 
          <th>打开目录</th>
          <th>上传底片</th>
          <th>短信通知</th>
        </tr>
        <tbody id="applylist-container"> 
        #scope.applylist.forEach(function(item,i){
            <tr>
                <td>{{=item.no}}</td>
                <td>{{=item.name}}</td>
                <td>{{=item.tel}}</td>
                <td>{{=item.photoer||""}}</td>    
                <td>{{=item.styler||""}}</td>       
                <td>{{=item.guider||""}}</td>         
                <td data-id="{{=item.id}}"  data-dir="{{=scope.activityno}}/{{=item.no}}">
                    <button type="button" class="btn btn-link open-dir">打开目录</button>
                </td>
                <td data-id="{{=item.id}}"  data-dir="{{=scope.activityno}}/{{=item.no}}">
                #if(item.upstatus==1){
                    <span class="uploaded">已上传({{=item.upnumber}}张)</span>
                    <button type="button" class="btn btn-link recompress">重新上传</button>
                #}else{
                    <span class="unupload">未上传</span>
                    <button type="button" class="btn btn-link compress">上传底片</button>
                #}
                    
                </td>
                <td data-id="{{=item.id}}"  data-dir="{{=scope.activityno}}/{{=item.no}}">
                #if(item.smsstatus==1){
                    <span class="uploaded">已发送</span>
                    <button type="button" class="btn btn-link send-sms">重新发送</button>
                #}else{
                    <span class="unupload">未发送</span>
                    <button type="button" class="btn btn-link send-sms">短信通知</button>
                #}
                    
                </td>
            </tr>
        #});           
        </tbody>       
        
      </table>
</script>
<style>
    .uploaded{
        color:#00a65a;
    }

    .unupload{
        color:#f39c12;
    }
</style>